package com.chenglu.android.payment.bean;

import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023/10/11 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description： 预生成订单接口
 */
public class ComfirmOrderBean {


    private Integer code;
    private Data data;
    private String msg;
    private Boolean success;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public static class Data {
        private Boolean dadaBind;
        private Boolean isReceivingCard;
        private Double money;
        private List<OrderBatchShopVOList> orderBatchShopVOList;
        private Double totalActuallyPaid;
        private Double totalAmount;
        private Double totalDiscountAmount;
        private Double totalGiveBeans;

        private Integer totalActuallyIntegral;
        private Integer integral;



        public Boolean getDadaBind() {
            return dadaBind;
        }

        public void setDadaBind(Boolean dadaBind) {
            this.dadaBind = dadaBind;
        }

        public Boolean getIsReceivingCard() {
            return isReceivingCard;
        }

        public void setIsReceivingCard(Boolean isReceivingCard) {
            this.isReceivingCard = isReceivingCard;
        }

        public Double getMoney() {
            return money;
        }

        public void setMoney(Double money) {
            this.money = money;
        }

        public List<OrderBatchShopVOList> getOrderBatchShopVOList() {
            return orderBatchShopVOList;
        }

        public void setOrderBatchShopVOList(List<OrderBatchShopVOList> orderBatchShopVOList) {
            this.orderBatchShopVOList = orderBatchShopVOList;
        }

        public Double getTotalActuallyPaid() {
            return totalActuallyPaid;
        }

        public void setTotalActuallyPaid(Double totalActuallyPaid) {
            this.totalActuallyPaid = totalActuallyPaid;
        }

        public Double getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(Double totalAmount) {
            this.totalAmount = totalAmount;
        }

        public Double getTotalDiscountAmount() {
            return totalDiscountAmount;
        }

        public void setTotalDiscountAmount(Double totalDiscountAmount) {
            this.totalDiscountAmount = totalDiscountAmount;
        }

        public Double getTotalGiveBeans() {
            return totalGiveBeans;
        }

        public void setTotalGiveBeans(Double totalGiveBeans) {
            this.totalGiveBeans = totalGiveBeans;
        }

        public static class OrderBatchShopVOList {
            private String address;
            private Double couponDiscount;
            private Double discountAmount;
            private List<DiscountConfigVOList> discountConfigVOList;
            private Double discountTotalAmount;
            private String distance;
            private Double freightPrice;
            private String mobile;
            private Double newMemberDiscount;
            private List<OrderGoodsDTOList> orderGoodsDTOList;
            private String orderId;
            private Double orderMemberCardDiscountAmount;
            private String orderNo;
            private OrderRestaurantExDTO orderRestaurantExDTO;
            private Integer orderType;
            private Integer payType;
            private Integer postType;
            private String realName;
            private String remark;
            private String shopActuallyPaid;
            private String shopsAddress;
            private String shopsName;
            private Integer shopsTypeId;
            private String tenantId;
            private Double total;

            //商品价格
            private double goodstotal;

            public double getGoodsTotal() {
                return goodstotal;
            }

            public void setGoodsTotal(double goodsTotal) {
                this.goodstotal = goodsTotal;
            }


            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public Double getCouponDiscount() {
                return couponDiscount;
            }

            public void setCouponDiscount(Double couponDiscount) {
                this.couponDiscount = couponDiscount;
            }

            public Double getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(Double discountAmount) {
                this.discountAmount = discountAmount;
            }

            public List<DiscountConfigVOList> getDiscountConfigVOList() {
                return discountConfigVOList;
            }

            public void setDiscountConfigVOList(List<DiscountConfigVOList> discountConfigVOList) {
                this.discountConfigVOList = discountConfigVOList;
            }

            public double getDiscountTotalAmount() {
                return discountTotalAmount;
            }

            public void setDiscountTotalAmount(double discountTotalAmount) {
                this.discountTotalAmount = discountTotalAmount;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public Double getFreightPrice() {
                return freightPrice;
            }

            public void setFreightPrice(Double freightPrice) {
                this.freightPrice = freightPrice;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public Double getNewMemberDiscount() {
                return newMemberDiscount;
            }

            public void setNewMemberDiscount(Double newMemberDiscount) {
                this.newMemberDiscount = newMemberDiscount;
            }

            public List<OrderGoodsDTOList> getOrderGoodsDTOList() {
                return orderGoodsDTOList;
            }

            public void setOrderGoodsDTOList(List<OrderGoodsDTOList> orderGoodsDTOList) {
                this.orderGoodsDTOList = orderGoodsDTOList;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public double getOrderMemberCardDiscountAmount() {
                return orderMemberCardDiscountAmount;
            }

            public void setOrderMemberCardDiscountAmount(double orderMemberCardDiscountAmount) {
                this.orderMemberCardDiscountAmount = orderMemberCardDiscountAmount;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public OrderRestaurantExDTO getOrderRestaurantExDTO() {
                return orderRestaurantExDTO;
            }

            public void setOrderRestaurantExDTO(OrderRestaurantExDTO orderRestaurantExDTO) {
                this.orderRestaurantExDTO = orderRestaurantExDTO;
            }

            public Integer getOrderType() {
                return orderType;
            }

            public void setOrderType(Integer orderType) {
                this.orderType = orderType;
            }

            public Integer getPayType() {
                return payType;
            }

            public void setPayType(Integer payType) {
                this.payType = payType;
            }

            public Integer getPostType() {
                return postType;
            }

            public void setPostType(Integer postType) {
                this.postType = postType;
            }

            public String getRealName() {
                return realName;
            }

            public void setRealName(String realName) {
                this.realName = realName;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getShopActuallyPaid() {
                return shopActuallyPaid;
            }

            public void setShopActuallyPaid(String shopActuallyPaid) {
                this.shopActuallyPaid = shopActuallyPaid;
            }

            public String getShopsAddress() {
                return shopsAddress;
            }

            public void setShopsAddress(String shopsAddress) {
                this.shopsAddress = shopsAddress;
            }

            public String getShopsName() {
                return shopsName;
            }

            public void setShopsName(String shopsName) {
                this.shopsName = shopsName;
            }

            public Integer getShopsTypeId() {
                return shopsTypeId;
            }

            public void setShopsTypeId(Integer shopsTypeId) {
                this.shopsTypeId = shopsTypeId;
            }

            public String getTenantId() {
                return tenantId;
            }

            public void setTenantId(String tenantId) {
                this.tenantId = tenantId;
            }

            public double getTotal() {
                return total;
            }

            public void setTotal(double total) {
                this.total = total;
            }

            public static class OrderRestaurantExDTO {
                private Integer bearingType;
                private String expectFinishTimeLimit;
                private String finishTimeTitle;
                private String freight;
                private Integer hasFreightTransport;
                private Integer isExpectFinishOrder;
                private Integer maxRange;
                private String mealTime;
                private String packageFee;
                private Integer repastWay;
                private String seatId;
                private String seatNum;
                private Integer sellerPostType;
                private String startTransportFee;
                private String tablewareCount;

                public Integer getBearingType() {
                    return bearingType;
                }

                public void setBearingType(Integer bearingType) {
                    this.bearingType = bearingType;
                }

                public String getExpectFinishTimeLimit() {
                    return expectFinishTimeLimit;
                }

                public void setExpectFinishTimeLimit(String expectFinishTimeLimit) {
                    this.expectFinishTimeLimit = expectFinishTimeLimit;
                }

                public String getFinishTimeTitle() {
                    return finishTimeTitle;
                }

                public void setFinishTimeTitle(String finishTimeTitle) {
                    this.finishTimeTitle = finishTimeTitle;
                }

                public String getFreight() {
                    return freight;
                }

                public void setFreight(String freight) {
                    this.freight = freight;
                }

                public Integer getHasFreightTransport() {
                    return hasFreightTransport;
                }

                public void setHasFreightTransport(Integer hasFreightTransport) {
                    this.hasFreightTransport = hasFreightTransport;
                }

                public Integer getIsExpectFinishOrder() {
                    return isExpectFinishOrder;
                }

                public void setIsExpectFinishOrder(Integer isExpectFinishOrder) {
                    this.isExpectFinishOrder = isExpectFinishOrder;
                }

                public Integer getMaxRange() {
                    return maxRange;
                }

                public void setMaxRange(Integer maxRange) {
                    this.maxRange = maxRange;
                }

                public String getMealTime() {
                    return mealTime;
                }

                public void setMealTime(String mealTime) {
                    this.mealTime = mealTime;
                }

                public String getPackageFee() {
                    return packageFee;
                }

                public void setPackageFee(String packageFee) {
                    this.packageFee = packageFee;
                }

                public Integer getRepastWay() {
                    return repastWay;
                }

                public void setRepastWay(Integer repastWay) {
                    this.repastWay = repastWay;
                }

                public String getSeatId() {
                    return seatId;
                }

                public void setSeatId(String seatId) {
                    this.seatId = seatId;
                }

                public String getSeatNum() {
                    return seatNum;
                }

                public void setSeatNum(String seatNum) {
                    this.seatNum = seatNum;
                }

                public Integer getSellerPostType() {
                    return sellerPostType;
                }

                public void setSellerPostType(Integer sellerPostType) {
                    this.sellerPostType = sellerPostType;
                }

                public String getStartTransportFee() {
                    return startTransportFee;
                }

                public void setStartTransportFee(String startTransportFee) {
                    this.startTransportFee = startTransportFee;
                }

                public String getTablewareCount() {
                    return tablewareCount;
                }

                public void setTablewareCount(String tablewareCount) {
                    this.tablewareCount = tablewareCount;
                }
            }

            public static class DiscountConfigVOList {
                private String createTime;
                private String discountName;
                private double discountPrice;
                private double discountType;
                private String id;
                private Integer isDeleted;
                private double targetPrice;
                private String tenantId;
                private String updateTime;


                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getDiscountName() {
                    return discountName;
                }

                public void setDiscountName(String discountName) {
                    this.discountName = discountName;
                }

                public double getDiscountPrice() {
                    return discountPrice;
                }

                public void setDiscountPrice(double discountPrice) {
                    this.discountPrice = discountPrice;
                }

                public double getDiscountType() {
                    return discountType;
                }

                public void setDiscountType(double discountType) {
                    this.discountType = discountType;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public Integer getIsDeleted() {
                    return isDeleted;
                }

                public void setIsDeleted(Integer isDeleted) {
                    this.isDeleted = isDeleted;
                }

                public double getTargetPrice() {
                    return targetPrice;
                }

                public void setTargetPrice(double targetPrice) {
                    this.targetPrice = targetPrice;
                }

                public String getTenantId() {
                    return tenantId;
                }

                public void setTenantId(String tenantId) {
                    this.tenantId = tenantId;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }
            }

            public static class OrderGoodsDTOList {
                private int amount;
                private String categoryIds;
                private List<GoodsAttrs> goodsAttrs;
                private String goodsId;
                private String goodsImg;
                private String goodsName;
                private String goodsSkuId;
                private List<GoodsSkus> goodsSkus;
                private List<GoodsSpecs> goodsSpecs;
                private Integer isSpec;

                private double discountPrice;
                private double goodsPrice;
                private double integralAmount;
                private double packageFee;
                private double splitPrice;

                private Double price;

                private String weight;

                private Double freight;

                private Integer isDiscountGoods;

                private Integer resourceType;

                public Double getPrice() {
                    return price;
                }

                public void setPrice(Double price) {
                    this.price = price;
                }

                public String getWeight() {
                    return weight;
                }

                public void setWeight(String weight) {
                    this.weight = weight;
                }

                public Double getFreight() {
                    return freight;
                }

                public void setFreight(Double freight) {
                    this.freight = freight;
                }

                public double getDiscountPrice() {
                    return discountPrice;
                }

                public void setDiscountPrice(double discountPrice) {
                    this.discountPrice = discountPrice;
                }

                public double getGoodsPrice() {
                    return goodsPrice;
                }

                public void setGoodsPrice(double goodsPrice) {
                    this.goodsPrice = goodsPrice;
                }

                public double getIntegralAmount() {
                    return integralAmount;
                }

                public void setIntegralAmount(double integralAmount) {
                    this.integralAmount = integralAmount;
                }

                public double getPackageFee() {
                    return packageFee;
                }

                public void setPackageFee(double packageFee) {
                    this.packageFee = packageFee;
                }

                public double getSplitPrice() {
                    return splitPrice;
                }

                public void setSplitPrice(double splitPrice) {
                    this.splitPrice = splitPrice;
                }

                public int getAmount() {
                    return amount;
                }

                public void setAmount(int amount) {
                    this.amount = amount;
                }

                public String getCategoryIds() {
                    return categoryIds;
                }

                public void setCategoryIds(String categoryIds) {
                    this.categoryIds = categoryIds;
                }

                public List<GoodsAttrs> getGoodsAttrs() {
                    return goodsAttrs;
                }

                public void setGoodsAttrs(List<GoodsAttrs> goodsAttrs) {
                    this.goodsAttrs = goodsAttrs;
                }

                public String getGoodsId() {
                    return goodsId;
                }

                public void setGoodsId(String goodsId) {
                    this.goodsId = goodsId;
                }

                public String getGoodsImg() {
                    return goodsImg;
                }

                public void setGoodsImg(String goodsImg) {
                    this.goodsImg = goodsImg;
                }

                public String getGoodsName() {
                    return goodsName;
                }

                public void setGoodsName(String goodsName) {
                    this.goodsName = goodsName;
                }

                public String getGoodsSkuId() {
                    return goodsSkuId;
                }

                public void setGoodsSkuId(String goodsSkuId) {
                    this.goodsSkuId = goodsSkuId;
                }

                public List<GoodsSkus> getGoodsSkus() {
                    return goodsSkus;
                }

                public void setGoodsSkus(List<GoodsSkus> goodsSkus) {
                    this.goodsSkus = goodsSkus;
                }

                public List<GoodsSpecs> getGoodsSpecs() {
                    return goodsSpecs;
                }

                public void setGoodsSpecs(List<GoodsSpecs> goodsSpecs) {
                    this.goodsSpecs = goodsSpecs;
                }

                public Integer getIsSpec() {
                    return isSpec;
                }

                public void setIsSpec(Integer isSpec) {
                    this.isSpec = isSpec;
                }

                public static class GoodsAttrs {
                    private String attrKey;
                    private String attrValue;
                    private String goodsId;
                    private String id;

                    public String getAttrKey() {
                        return attrKey;
                    }

                    public void setAttrKey(String attrKey) {
                        this.attrKey = attrKey;
                    }

                    public String getAttrValue() {
                        return attrValue;
                    }

                    public void setAttrValue(String attrValue) {
                        this.attrValue = attrValue;
                    }

                    public String getGoodsId() {
                        return goodsId;
                    }

                    public void setGoodsId(String goodsId) {
                        this.goodsId = goodsId;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }
                }

                public static class GoodsSkus {
                    private Integer buyFlag;
                    private double giveRedBeans;
                    private String goodsId;
                    private double goodsPrice;
                    private double goodsWeight;
                    private Integer hasResource;
                    private String id;
                    private Integer inventory;
                    private Integer isExpire;
                    private List<KnowledgeColumnVoList> knowledgeColumnVoList;
                    private String resourceIds;
                    private String spec;
                    private String specImg;
//                    private SpecMap specMap;

                    private Integer isEquity;
                    private Integer equityCount;
                    private Integer limitType;
                    private Integer timeLimitType;
                    private String useStartTimeLimit;
                    private String useEndTimeLimit;
                    private Integer useDay;
                    private Integer todayCanUseCount;

                    public Integer getBuyFlag() {
                        return buyFlag;
                    }

                    public void setBuyFlag(Integer buyFlag) {
                        this.buyFlag = buyFlag;
                    }

                    public double getGiveRedBeans() {
                        return giveRedBeans;
                    }

                    public void setGiveRedBeans(double giveRedBeans) {
                        this.giveRedBeans = giveRedBeans;
                    }

                    public String getGoodsId() {
                        return goodsId;
                    }

                    public void setGoodsId(String goodsId) {
                        this.goodsId = goodsId;
                    }

                    public double getGoodsPrice() {
                        return goodsPrice;
                    }

                    public void setGoodsPrice(double goodsPrice) {
                        this.goodsPrice = goodsPrice;
                    }

                    public double getGoodsWeight() {
                        return goodsWeight;
                    }

                    public void setGoodsWeight(double goodsWeight) {
                        this.goodsWeight = goodsWeight;
                    }

                    public Integer getHasResource() {
                        return hasResource;
                    }

                    public void setHasResource(Integer hasResource) {
                        this.hasResource = hasResource;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public Integer getInventory() {
                        return inventory;
                    }

                    public void setInventory(Integer inventory) {
                        this.inventory = inventory;
                    }

                    public Integer getIsExpire() {
                        return isExpire;
                    }

                    public void setIsExpire(Integer isExpire) {
                        this.isExpire = isExpire;
                    }

                    public List<KnowledgeColumnVoList> getKnowledgeColumnVoList() {
                        return knowledgeColumnVoList;
                    }

                    public void setKnowledgeColumnVoList(List<KnowledgeColumnVoList> knowledgeColumnVoList) {
                        this.knowledgeColumnVoList = knowledgeColumnVoList;
                    }

                    public String getResourceIds() {
                        return resourceIds;
                    }

                    public void setResourceIds(String resourceIds) {
                        this.resourceIds = resourceIds;
                    }

                    public String getSpec() {
                        return spec;
                    }

                    public void setSpec(String spec) {
                        this.spec = spec;
                    }

                    public String getSpecImg() {
                        return specImg;
                    }

                    public void setSpecImg(String specImg) {
                        this.specImg = specImg;
                    }

//                    public SpecMap getSpecMap() {
//                        return specMap;
//                    }
//
//                    public void setSpecMap(SpecMap specMap) {
//                        this.specMap = specMap;
//                    }
//
//                    public static class SpecMap {
//
//                    }

                    public static class KnowledgeColumnVoList {
                        private String categoryId;
                        private String colName;
                        private String createTime;
                        private String descript;
                        private String endTime;
                        private String id;
                        private String introduction;
                        private Integer isDeleted;
                        private Integer isExpire;
                        private String pic;
                        private String resourceCount;
                        private String startTime;
                        private Integer timeoutIsDay;
                        private String updateTime;

                        public String getCategoryId() {
                            return categoryId;
                        }

                        public void setCategoryId(String categoryId) {
                            this.categoryId = categoryId;
                        }

                        public String getColName() {
                            return colName;
                        }

                        public void setColName(String colName) {
                            this.colName = colName;
                        }

                        public String getCreateTime() {
                            return createTime;
                        }

                        public void setCreateTime(String createTime) {
                            this.createTime = createTime;
                        }

                        public String getDescript() {
                            return descript;
                        }

                        public void setDescript(String descript) {
                            this.descript = descript;
                        }

                        public String getEndTime() {
                            return endTime;
                        }

                        public void setEndTime(String endTime) {
                            this.endTime = endTime;
                        }

                        public String getId() {
                            return id;
                        }

                        public void setId(String id) {
                            this.id = id;
                        }

                        public String getIntroduction() {
                            return introduction;
                        }

                        public void setIntroduction(String introduction) {
                            this.introduction = introduction;
                        }

                        public Integer getIsDeleted() {
                            return isDeleted;
                        }

                        public void setIsDeleted(Integer isDeleted) {
                            this.isDeleted = isDeleted;
                        }

                        public Integer getIsExpire() {
                            return isExpire;
                        }

                        public void setIsExpire(Integer isExpire) {
                            this.isExpire = isExpire;
                        }

                        public String getPic() {
                            return pic;
                        }

                        public void setPic(String pic) {
                            this.pic = pic;
                        }

                        public String getResourceCount() {
                            return resourceCount;
                        }

                        public void setResourceCount(String resourceCount) {
                            this.resourceCount = resourceCount;
                        }

                        public String getStartTime() {
                            return startTime;
                        }

                        public void setStartTime(String startTime) {
                            this.startTime = startTime;
                        }

                        public Integer getTimeoutIsDay() {
                            return timeoutIsDay;
                        }

                        public void setTimeoutIsDay(Integer timeoutIsDay) {
                            this.timeoutIsDay = timeoutIsDay;
                        }

                        public String getUpdateTime() {
                            return updateTime;
                        }

                        public void setUpdateTime(String updateTime) {
                            this.updateTime = updateTime;
                        }
                    }
                }

                public static class GoodsSpecs {
                    private String goodsId;
                    private String id;
                    private String specKey;
                    private String specValue;

                    public String getGoodsId() {
                        return goodsId;
                    }

                    public void setGoodsId(String goodsId) {
                        this.goodsId = goodsId;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getSpecKey() {
                        return specKey;
                    }

                    public void setSpecKey(String specKey) {
                        this.specKey = specKey;
                    }

                    public String getSpecValue() {
                        return specValue;
                    }

                    public void setSpecValue(String specValue) {
                        this.specValue = specValue;
                    }
                }
            }
        }
    }
}
